package Computer;

public class Application {  
    public static void main(String[] args) {  
    Simulator simulator = new Simulator();  
    simulator.playSound(new Dog());  
    simulator.showMess();      
    simulator.playSound( new Cat());  
    simulator.showMess();
    }  
}